#ifndef CITYCODE_H
#define CITYCODE_H
#include <DMainWindow>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QFile>


DWIDGET_USE_NAMESPACE


class cityCode : public DMainWindow
{
public:
    cityCode();
private:
      QByteArray fileContent;
      QJsonDocument jsonDoc;
      QString filePath = ":/weatherCode.json";
public:
      QString getCityCode(QString city);
};

#endif // CITYCODE_H
